package cn.zebra.dev.other.module.ordersBarter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 
 *
 * @author runnable
 */
@TableName("orders_barter")
@Getter
@Setter
public class OrdersBarterEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("店铺售后id")
    private Long shopAfterId;

    @ApiModelProperty("状态(0 用户发货，1 商家签收，2 商家发货，3 用户签收)")
    private Long state;

    @ApiModelProperty("换货的商品")
    private Long productId;

    @ApiModelProperty("换货的商品规格")
    private Long productSkuId;

    @ApiModelProperty("用户发货物流编号")
    private String userLogisticsCode;

    @ApiModelProperty("店铺发货物流编号")
    private String shopLogisticsCode;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("店铺id")
    private Long shopId;


    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
}
